package com.xh.bussiness.exam.bean.dto;

import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/11/4
 */
@Data
public class KnowledgeDto  {
    private String id;
    private String parentPath;
    private String parentName;
    private String name;
    private Long total;

    public KnowledgeDto(String id,String name,String parentPath,String parentName)
    {
        this.id=id;
        this.name=name;
        this.parentPath=parentPath;
        this.parentName=parentName;
    }
    public KnowledgeDto(Long total,String parentPath,String parentName)
    {
        this.parentPath=parentPath;
        this.parentName=parentName;
        this.total = total;
    }
}
